@layout("/backend/common/_container.html"){
<style>
	.panel-header-gray, .panel-body {
		width: 100% !important;
	}
	.fixed-table-container{
       padding-top: 1px;
       border-left-width: 0px;
       border-right-width: 0px;
       border-bottom-width: 0px;
	}
    .fixed-table-footer{
    	border-top-width: 0px;
    }
	.r-label {
		padding-right: 0px !important;
	}
	.little-title{
		color: red;
		font-size: 10px;
	}
</style>
<div class="row">
<#Hidden id="analysisDesc" value="analysisCase"/>
<#Hidden id="hospitalId" value="${hospitalId!}"/>
<#Hidden id="officeMap" value="${officeMap!}"/>
<#Hidden id="departMap" value="${departMap!}"/>
<#Hidden id="oneOffice" value="yes"/>
<#Hidden id="entityMap" value="${entityMap}"/>


	<div class="col-sm-12">
	
		<div style="padding-bottom: 10px;width:100%;">
			<table style="border-collapse:separate; border-spacing:10px;">
				<tr>
					<td class='r-label' for="dateRange">患者类型</td>
	      			<td>
	      				<input class="hisui-combobox textbox" id="dateRange"/>
					</td>
					<td class='r-label date' for="startDate" >开始日期<span id="startDateTitle" class="little-title">(入院)</span></td>
					<td class= "date">
						<input id="startDate" class="hisui-datebox textbox"></input>
					</td>
					<td class='r-label date' for="endDate" >结束日期<span id="endDateTitle" class="little-title"> (入院)</span></td>
					<td class="date">
						<input id="endDate" class="hisui-datebox textbox"></input>
					</td>
					<td class='r-label' for="entityType" >入组病种</td>
					<td>
						<input id="entityType" class="hisui-combobox textbox"/>
					</td>

					<td >
						<a href="#" id="search" class="hisui-linkbutton" onclick = "AnalysisQcTrend.search()" >查询</a>
					</td>
					<td>
						<a href="#" class="hisui-linkbutton" id="exportTable" onclick = "AnalysisQcTrend.exportTable()" >导出表格</a>
					</td>
				</tr>
				<tr>
					<td class='r-label' for="office">院区</td>
	      			<td>
	      				<input class="hisui-combobox textbox" id="office"/>
					</td>
					<td class='r-label' for="depart">科室</td>
	      			<td>
	      				<input class="hisui-combobox textbox" id="depart"/>
					</td>
					<td class='r-label ' for="medicalGroup" >医疗组</td>
					<td class=''>
						<input class="hisui-combobox textbox" id="medicalGroup"/>
					</td>
					<td class='r-label' for="analysisGrain">统计粒度</td>
					<td>
						<input class="hisui-combobox textbox" id="analysisGrain"/>
					</td>
<!--					<td class='r-label' for="doctor">主治医生</td>-->
					<td>
						<hidden class="hisui-textbox textbox" id="doctor"/>
					</td>
					<td rowspan="6"></td>
				</tr>
			</table>
		</div>
		<div class="hisui-panel" title="过程质控趋势分析"  data-options="headerCls:'panel-header-gray',iconCls:'icon-paper'">
		<div style="width:100%;height:300px; padding:10px;" id="analysisChart"></div>
		<div style="display:none  "  >
		<table id="analysisTableHead" ></table>
		</div>
		<div id="analysisTableDiv" style="height:auto; ">
			<!-- <div style="width:200px;float: left;">
	     		<span style="font-size: 16px;font-weight: 500;">出院患者表格数据</span>
	    	</div> -->
     		<!--
     		<div style="width:auto;float: right;margin-bottom: 10px;margin-left: 10px;">
     			<a href="#" class="hisui-linkbutton" id="exportTable" onclick = "AnalysisQcTrend.exportTable()">导出表格</a>
     		</div>
     		-->
			<table style="width:100%;" id="analysisTable">
			</table>
		</div>
	</div>
	</div>
	
</div>
<script src="${ctxPath}/static/common/js/vteEcharts.js"></script>
<script src="${ctxPath}/static/common/js/dateUtil.js"></script>
<script src="${ctxPath}/static/backend/sds/qcportal/analysisQcTrend.js"></script>
@}
